package com.bh.vehicle.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.vehicle.domain.JcDriver;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 司机管理Mapper接口
 *
 * @author slx
 * @date 2023-04-24
 */
@Mapper
public interface JcDriverMapper extends RootMapper<JcDriver> {

    /**
     * 查询司机管理列表
     *
     * @param jcDriver 司机管理
     * @return 司机管理集合
     */
    public List<JcDriver> selectJcDriverList(JcDriver jcDriver);

    /**
     * 查询司机
     * @param userId
     * @return
     */
    public JcDriver selectJcDriverByUserId(String userId);
}
